package cn.appsys.service.developer;

import cn.appsys.pojo.DataDictionary;
import cn.appsys.tools.PageSupport;

import java.util.List;

public interface DataDictionaryService {

    /**
     * 根据typeCode查询相应的数据字典列表
     *
     * @param typeCode
     * @return
     * @throws Exception
     */
    public List<DataDictionary> getDataDictionaryList(String typeCode) throws Exception;

    /**
     * 查询所有
     *
     * @return
     * @throws Exception
     */
    public List<DataDictionary> getList(DataDictionary dataDictionary, PageSupport pageSupport) throws Exception;

    /**
     * 查询总记录数
     *
     * @param dataDictionary
     * @return
     * @throws Exception
     */
    public int getCount(DataDictionary dataDictionary) throws Exception;

    public List<DataDictionary> getGroupTypeService() throws Exception;
}
